    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1,
        shrink-to-fit=no">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
    <title>&gt;{% block title %}Newspaper App{% endblock title %}</title>
    <nav class="navbar bg-dark mb-4 navbar-expand-md navbar-dark">
        <a class="navbar-brand" href="{% url 'home' %}">Newspaper</a>
        <button class="navbar-toggler" type="button" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation" data-bs-toggle="collapse" data-bs-target="#navbarCollapse">
            <span class="navbar-toggler-icon"></span>
        </button>
        <div class="collapse navbar-collapse" id="navbarCollapse">
            {% if user.is_authenticated %}
             <ul class="navbar-nav ms-auto">
                 <li class="nav-item">
                     <a class="nav-link dropdown-toggle" href="#" id="userMenu" aria-haspopup="true" aria-expanded="false" data-bs-toggle="dropdown">
                         {{ user.username }}
                     </a>
                     <div class="dropdown-menu dropdown-menu-end" aria-labelledby="userMenu">
                         <a class="dropdown-item" href="{% url 'password_change' %}">
                             Change password
                         </a>
                         <div class="dropdown-divider"></div>
                         <a class="dropdown-item">
                            <form method="post" action="{% url 'logout' %}">
                                 {% csrf_token %}
                                    <button type="submit">logout</button>
                             </form>
                         </a>
                     </div>
                 </li>
             </ul>
            {% else %}
            <form class="ms-auto form-inline d-inline-flex gap-2">
                <a href="{% url 'login' %}" class="btn btn-outline-secondary">
                    Log In</a>
                <a href="{% url 'signup' %}" class="btn btn-primary">
                Sign up</a>
            </form>
        {% endif %}
        </div>
    </nav>
  <div class="container">
    {% block content %}
    {% endblock content %}
  </div>.
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>